using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace RSSRadio
{
	static class GuiUtil
	{
		public static void EnableMenuItems(MenuItem[] menuItems)
		{
			if (menuItems == null)
				return;

			foreach (MenuItem item in menuItems)
				item.Enabled = true;
		}

		public static void DisableMenuItems(MenuItem[] menuItems)
		{
			if (menuItems == null)
				return;

			foreach (MenuItem item in menuItems)
				item.Enabled = false;
		}
	}
}
